﻿<!DOCTYPE HTML
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="overflow: hidden;">

<head>
    <title>鄂尔多斯市国土空间基础信息平台</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" />
    <!-- 禁止浏览器缓存 -->
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <link rel="shortcut icon" href="/img/logo.png" />
    <link rel="stylesheet" href="/css/bootstrap.min.css" />
    <link href="/css/dataserver/zTreeStyle.css" rel="stylesheet" />


    <!--模型调用-->
    <script src="/Login.js" type="text/javascript"></script>
    <script src="/scripts/jquery.min.js" type="text/javascript"></script>
    <script src="/scripts/jquery.ui.core.js"></script>
    <link href="/css/public.css" rel="stylesheet" />
    <link rel="stylesheet" href="/css/BasePlatform/ModelDriven/ModelDrivenCatalog.css" />
    <link rel="stylesheet" href="./scripts/layui/css/layui.css" />
    <link rel="stylesheet" href="../../css/BasePlatform/applicationSystem/userInformation.css">
    <script src="/ThirdParty/layer/layer.js"></script>
    <!--<link rel="stylesheet" href="/css/font-awesome.min.css" />
    <link rel="stylesheet" href="/css/_all-skins.min.css" />-->
    <link href="/css/BasePlatform/Main/header.css" rel="stylesheet" />
    <script src="../../Login.js"></script>
    <script src="/scripts/PublicJS/basepublic.js" type="text/javascript"></script>
    <script src="/scripts/bootstrap.min.js" type="text/javascript"></script>
    <script src="./scripts/layui-v2.6.8/layui.js"></script>
    <style>
        .layui-tab-title li {
            font-size: 16px !important;
            margin-top: 10px;
            color: white;
        }

        .layui-tab-brief>.layui-tab-title .layui-this {
            /*margin-top: 2px;*/
            font-weight: bold;
            font-size: 18px !important;
        }

        .layui-layer-btn- {
            background-color: white;
            margin-top: -15px;
        }

        .layui-nav {
            background: transparent !important;
        }

        .layui-nav-child {
            background-color: #ccc;
            color: #00000094 !important;
        }

        .layui-form-item {
            margin-bottom: 0 !important;
        }

        .layui-layer-btn {
            display: flex !important;
            justify-content: center !important;
        }

        .layui-layer-btn .layui-layer-btn0 {
            width: 80%;
            text-align: center;
        }

        .layui-nav .layui-this:after,
        .layui-nav-bar,
        .layui-nav-tree .layui-nav-itemed:after {
            background: rgb(48, 110, 213) !important;
        }

        #headerUserName>a:hover #headerUserName .layui-nav-child {
            display: block;
        }

        #headerUserName>a:hover {
            background: rgb(48, 110, 213) !important;
        }

        #headerUserName .layui-nav-child {
            background: #fff !important;
        }

        #headerUserName .layui-nav .layui-nav-child dd.layui-this a,
        .layui-nav-child dd:hover {
            background: rgb(246, 246, 246) !important;
        }

        .nav-main {
            height: 100%;
            text-decoration: none;
            visibility: inherit;
            display: none;
            background-color: #fff;
            z-index: 999999;
            position: absolute;
            margin-left: 0px;
        }

        .item-img {
            width: 20px;
            height: 20px;
            padding: 1px;
        }

        .item-img img {
            width: 18px;
            height: 18px;
            margin-bottom: 3px;
        }
    </style>
</head>

<body onselectstart="return false" style="margin: 0px;" onresize="iFrameHeight()" onload="    iFrameHeight()"
    id="mainBody">
    <div id="lheaddiv" class="skin-blue sidebar-mini"
        style="height: 70px; margin-top: 0px;z-index: 99999999;position: relative;">
        <div class="wrapper">
            <header class="main-header pageHeader" style="">
                <nav class="navbar navbar-static-top" style="height:70px; margin-left:0px; padding-left:0px; ">
                    <div style="height: 100%;display: flex;padding:0 10px;justify-content: space-around;">
                        <img class="sidebar-toggle" data-toggle="push-menu" src="img/logo.png"
                            style=" width:70px; height:70px;" />
                        <div class="headerTitle">
                            鄂尔多斯市国土空间基础信息平台
                        </div>
                        <div class="layui-tab layui-tab-brief"
                            style="width:calc(100% - 70px - 400px - 150px);height: 100%;">
                            <ul style="height: 100%;width: 100%;position: relative;margin: 0 auto;border:none;"
                                class="layui-tab-title" id="lay_nav">
                                <li class="layui-nav-item layui-this selected" id="header_tab2"
                                    onclick="SelectHeaderMainTab(1)">
                                    <span class="item-img" style="background-color: #119A6E ;"><img
                                            src="./img/main/u1.png" alt=""></span>
                                    <span>一张图</span>
                                </li>
                                <li class="layui-nav-item " id="" onclick="SelectHeaderMainTab(4)">
                                    <span class="item-img" style="background-color: #6CBCD2 ;"><img
                                            src="./img/main/u2.png" alt=""></span>
                                    <span>资源中心</span>
                                </li>
                                <li class="layui-nav-item " id="" onclick="SelectHeaderMainTab(7)">
                                    <span class="item-img" style="background-color: #F08C60 ;"><img
                                            src="./img/main/u3.png" alt=""></span>
                                    <span>应用中心</span>
                                </li>
                                <li class="layui-nav-item " id="" onclick="SelectHeaderMainTab(8)">
                                    <span class="item-img" style="background-color: #00B7EE ;"><img
                                            src="./img/main/u4.png" alt=""></span>
                                    <span>专题展示</span>
                                </li>
                                <li class="layui-nav-item " id="" onclick="SelectHeaderMainTab(9)">
                                    <span class="item-img" style="background-color: #EA68A2 ;"><img
                                            src="./img/main/u5.png" alt=""></span>
                                    <span>
                                        开发中心
                                    </span>
                                </li>
                                <li class="layui-nav-item " id="management" onclick="SelectHeaderMainTab(2)">
                                    <span class="item-img" style="background-color: #80C269 ;"><img
                                            src="./img/main/u6.png" alt=""></span>
                                    <span>云服务管理</span>
                                </li>

                                <li class="layui-nav-item " id="operations" onclick="SelectHeaderMainTab(5)">
                                    <span class="item-img" style="background-color: #6D68E4 ;"><img
                                            src="./img/main/u7.png" alt=""></span>
                                    <span>运维管理</span>
                                </li>
                                <!-- <li class="layui-nav-item " id="" onclick="SelectHeaderMainTab(6)" style="display: none;">
                                    应用分析
                                </li>
                                <li class="layui-nav-item " id="" onclick="SelectHeaderMainTab(3)">
                                    探索挖倔
                                </li> 
                                -->
                            </ul>

                        </div>
                        <!-- <div style="display: flex;width: 150px; height: 100%;align-items: center;">
                            <div>
                                <img style="width: 20px;height: 20px;" src="./img/main/u9.png" alt="">
                            </div> 
                            <div id="headerUserName" style="margin:0 10px;">
                                <a onClick="SelectHeaderMainTab(10)"></a>
                            </div>
                            <div> 
                                <img onclick="window.location.href = '/'" style="width: 20px;height: 20px;" src="./img/main/u9.png" alt="">
                            </div>
                        </div>  -->
                        <div class="" style="display: inline-block; margin-right: 10px; height: 100%; float: right;">
                            <div class="collapse navbar-collapse navbar-custom-menu" id="navbar-collapse"
                                style=" float: right; display: inline; margin-top: 25px; overflow: auto;">
                                <ul class="nav navbar-nav layui-nav">
                                    <li class="headerLi layui-nav-item" id="headerUserName">
                                        <span><img src="./img/main/u88.png" alt=""></span>
                                        <a></a>
                                        <dl class="layui-nav-child"
                                            style=" z-index: 2147483647 !important;top: 45px !important;border: none;">
                                            <dd id="userName"><a
                                                    onclick="window.open('/BasePlatform/Home/home_tab.html')"
                                                    style="color:#00000094 !important;font-weight: bold;height: 30px;line-height: 30px;">门户</a>
                                            </dd>
                                            <!-- id="userInfoBtn"  -->
                                            <dd id="nameZx"><a onClick="SelectHeaderMainTab(10)"
                                                    style="color:#00000094 !important;font-weight: bold;height: 30px;line-height: 30px;">个人中心</a>
                                            </dd>
                                            <dd><a onclick="window.location.href = '/'"
                                                    style="color:#00000094 !important;font-weight: bold;height: 30px;line-height: 30px;">退出</a>
                                            </dd>
                                        </dl>
                                    </li>
                                </ul>
                            </div>
                        </div>

                    </div>
                </nav>
            </header>
        </div>
    </div>

    <div id="fleftdiv" class="none" style="float: left; margin: 0px 0px 0px 0px; width: 232px;">
        <!-- ./MainListAdmin.html -->
        <iframe style="text-decoration: none; width: 100%; visibility: inherit;
            background-color: #fff; z-index: -2;" src="" marginwidth="0" marginheight="0" scrolling="auto"
            frameborder="0" id="fleft" name="fleft" width="100%"></iframe>
    </div>
    <!-- 左侧隐藏按钮 -->
    <div id="hideBtn" style="display:none;">
        <div>◀</div>
    </div>

    <div id="frightdiv" style="float: right; margin-right: 1px; display: inline-block; height:calc(100% - 70px)">
        <!--统计分析 fStatistics
        <iframe style="text-decoration: none; visibility: inherit; display: none;height:100%;
        background-color: #fff; z-index: -2; margin-left: 0px; " src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="fStatistics" name="fStatistics" width="100%"></iframe>
        -->
        <!--------->
        <!-- 其他所有  otherIframe
        <iframe style=" text-decoration: none; visibility: inherit; display: none; height: 100%; background-color: #fff; z-index: -2; margin-left: 0px; " src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="otherIframe" name="fexplore"
            width="100%"></iframe>
        -->
        <iframe
            style="width:100%;text-decoration: none; visibility: inherit; display: none; height: 100%; background-color: #fff; z-index: -2; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="otherIframe"
            name="naturalResources" width="100%"></iframe>
        <!-- 111 首页(地图) fmap   -->
        <iframe src="/MapServer/Portal/3DViewer.html?mode=default"
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; background-color: #fff; z-index: -2; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="fmap" name="fmap" width="100%"
            jumpping="" jumpping2Tools="" jumpping2ToolsNo=""></iframe>
        <!-- 2222 云服务管理里面 资源列表  FnaturalResources-->
        <iframe
            style="width:100%;height: 100%;  text-decoration: none; visibility: inherit; display: none; background-color: #fff; z-index: 999999; margin-left: 0px; height: 100%; position: absolute;"
            width="200" src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="FnaturalResources"
            name="FnaturalResources"></iframe>
        <!-- 2222 云服务管理里面  数据管理/数据资源  fmain-->
        <iframe
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; display: none; background-color: #fff; z-index: 999999; position: absolute; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="fmain" name="fmain"
            width="100%"></iframe>
        <!-- 3333 数据资源台账 新建 dataStanding-->
        <iframe
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; display: none; background-color: #fff; z-index: 999999; position: absolute; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="dataStanding"
            name="dataStanding" width="100%"></iframe>
        <!-- 4444 运维管理中心 新建  devopsCentre-->
        <iframe
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; display: none; background-color: #fff; z-index: 999999; position: absolute; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="devopsCentre"
            name="devopsCentre" width="100%"></iframe>
        <!-- 5555 应用分析 新建 applicationAnalyse-->
        <iframe
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; display: none; background-color: #fff; z-index: 999999; position: absolute; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="applicationAnalyse"
            name="applicationAnalyse" width="100%"></iframe>
        <!-- 6666 探索挖掘 fexplore-->
        <iframe
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; display: none; background-color: #fff; position: absolute; z-index: 999999; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="fexplore" name="fexplore"
            width="100%"></iframe>
        <!-- 7777 应用中心 applicationCenter -->
        <iframe
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; display: none; background-color: #fff; position: absolute; z-index: 999999; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="applicationCenter"
            name="applicationCenter" width="100%"></iframe>
        <!-- 8888 资源监管 resourcesRegulation-->
        <iframe
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; display: none; background-color: #fff; position: absolute; z-index: 999999; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="resourcesRegulation"
            name="resourcesRegulation" width="100%"></iframe>
        <!-- 9999 开发中心 developmentCenter-->
        <iframe
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; display: none; background-color: #fff; position: absolute; z-index: 999999; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="developmentCenter"
            name="developmentCenter" width="100%"></iframe>
        <!-- 10 个人工作台 personalWorkbench -->
        <iframe
            style="width:100%;height: 100%; text-decoration: none; visibility: inherit; display: none; background-color: #fff; position: absolute; z-index: 999999; margin-left: 0px; "
            src="" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" id="personalWorkbench"
            name="personalWorkbench" width="100%"></iframe>
        <!-- 保持Session -->
        <!--<iframe   width=0   height=0   src="SessionKeeper.asp">
        </iframe>-->
    </div>
    <!--右下角弹出框-->
    <div id="tanchukuang"
        style="width:250px;height:120px;background-color:white;position:fixed;bottom:0px;right:0px;display:none;border-radius:10px;">
        style="width:250px;height:120px;background-color:white;position:fixed;bottom:0px;right:0px;display:none;border-radius:10px;">
        <div style="border-top-left-radius: 10px; border-top-right-radius: 10px; height: 35px;
            background-color: #EDEDED;">
            <font style="color: #007be7; line-height: 21px; font-weight: 700; font-size: 14px;
                position: relative; top: 8px;left:10px;">
                <i class="fa fa-wrench" style="color:#2d3041"></i>&nbsp;&nbsp;运行结果
            </font>
        </div>
        <div style="width:100%;height:80%;">
            <div
                style="display:inline;float:left;width:20%;height:100%;border-bottom-left-radius:10px;text-align:right;">
                <div style="display:table;width:80%;height:100%;margin:0 auto;">
                    <div style="display: table-cell; vertical-align: middle;position:relative;left:5px;">
                        <i class="fa fa-check-circle" style="font-size:35px;color:#5dce0f;"></i>
                    </div>
                </div>
            </div>
            <div style="display: inline; float: right; width: 80%; height: 100%;  border-bottom-right-radius: 10px;">
                <div style="display:table;width:80%;height:100%;margin:0 auto;">
                    <div style="display: table-cell; vertical-align: middle;">
                        <span id="span_tanchu" style="vertical-align:middle;font-weight:700;">XX模型已运行完成</span>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 模型监控弹出 start -->
    <div id="showModelDrivenList" class="myShowTab" style="top: 50%; display: none">
        <div class="myShowTabIcon">◀</div>
        <div class="myShowTabContent">
            <div class="myShowTabText">分</div>
            <div class="myShowTabText">析</div>
            <div class="myShowTabText">结</div>
            <div class="myShowTabText">果</div>
        </div>
    </div>
    <iframe id="ModelDrivenList_d" src="" frameborder="0" style="height: calc(100% - 74px); overflow: hidden;"
        class="myShowIframe"></iframe>
    <!-- 模型监控弹出 end -->
    <!-- 数据分析弹出 start -->
    <div id="analyseTab" class="myShowTab" style="top: 210px;display:none;">
        <div class="myShowTabIcon">◀</div>
        <div class="myShowTabContent">
            <div class="myShowTabText">数</div>
            <div class="myShowTabText">据</div>
            <div class="myShowTabText">分</div>
            <div class="myShowTabText">析</div>
        </div>
    </div>
    <div id="analyseContent" class="myShowIframe myShowDiv" style="width: 0px;">
        <div class="title">
            <span class="icon" style="background-image: url(/img/maintab/analysis.png);
            "></span>数据分析
        </div>
        <div class="myShowContainer">
        </div>
    </div>
    <!-- 数据分析弹出 end -->
    <!-- 数据探索弹出 start -->
    <div id="dataExploreTab" class="myShowTab" style="bottom: 100px; display: none;">
        <div class="myShowTabIcon">◀</div>
        <div class="myShowTabContent">
            <div class="myShowTabText">数</div>
            <div class="myShowTabText">据</div>
            <div class="myShowTabText">探</div>
            <div class="myShowTabText">索</div>
        </div>
    </div>
    <div id="dataExploreContent" class="myShowIframe myShowDiv" style="top: auto;bottom: 0;">
        <div class="title">
            <span class="icon" style="background-image: url(/img/maintab/explore.png);
            "></span>数据探索
            <input id="dataExploreSearchInput" type="text"
                style="width: 140px; height: 25px; margin-right: 5px; padding-left: 5px;color: #181820; font-size: 12px;"
                placeholder="关键字支持空格隔开" /><button id="dataExploreSearchBtn" type="button"
                class="layui-btn layui-btn-sm layui-btn-normal">搜索</button>

        </div>
        <div class="myShowContainer">

        </div>
    </div>
    <!-- 应用服务接口 -->
    <input id="modelOrigin" value="" style="display: none;" type="text" />
    <!-- 文件下载/上传接口 -->
    <input id="fileUploadOrigin" value="" style="display: none;" type="text" />
    <!-- websocket地址 -->
    <input id="wsOrigin" value="" style="display:none;" type="text" />
    <!-- 普通的接口地址 -->
    <input id="modelTree" value="" style="display: none;" type="text" />

    <script>
        //初始化接口值
    </script>
    <!-- layui 依赖的element模块 不引入这个使用不了-->
    <script>
        var configInfo = InitialParameter("/Config.json");
        $("#modelOrigin").val(configInfo["modelOrigin"].type + "://" + configInfo["modelOrigin"].value);
        $("#fileUploadOrigin").val(configInfo["fileUploadOrigin"].type + "://" + configInfo["fileUploadOrigin"].value);
        $("#wsOrigin").val(configInfo["wsOrigin"].value);
        var modelURL = configInfo["modelTree"].type + "://" + configInfo["modelTree"].value;
        $("#modelTree").val(modelURL);
        //if (!getCookie("portaluserno")) {
        //请求session，如获取失败跳转登录、成功则不作处理
        if (false) {
            $.ajax({
                type: "post",
                async: false,
                crossDomain: true,
                xhrFields: {
                    withCredentials: true
                },
                url: modelURL + "/sw/login/getLoginUserInfo",
                data: {},
                datatype: "json",
                success: function (result) {
                    result = JSON.parse(result);
                    if (result.code == 200) {
                        result = result.data[0];
                        if (result.NO != getCookie("portaluserno")) {
                            deleteCookie("portaluserno");
                            deleteCookie("portalusername");
                            deleteCookie("portalusermanager");
                            deleteCookie("portaluserdept");

                            setCookie("portaluserno", result.NO, 2);
                            setCookie("portalusername", result.NAME, 2);
                            setCookie("portalusermanager", result.ISMANAGER, 2);
                            setCookie("portaluserdept", result.FK_DEPT, 2);
                        }
                    } else {
                        window.location.href = configInfo["logoutPath"];
                        return;
                    }
                },
                error: function (err) {
                    window.location.href = configInfo["logoutPath"];
                    return;
                }
            });
        }
        $(document).ready(function () {
            layui.use(['element', 'form'], function () {
                var element = layui.element;
                var form = layui.form;
            });
        })
        $(".treeNodeA").click(function (e) {
            var id = $(e.target).attr("nodeId");
            treeNodeClick(id, $(e.target).html(), treeNodeParams[id]);
        });
        // $('#lay_nav li').each(function () {
        //     $(this).click(function (){
        //         console.log("dianji");
        //     })
        //     if ($(this).hasClass('layui-this')) {
        //         $(this).removeClass("layui-this selected")
        //     }
        // })
    </script>
</body>
<script src="/scripts/BaseP/Resource/Resource.js"></script>
<script src="/scripts/BaseP/User/userinfo.js"></script>
<script src="/scripts/dataserver/jquery.ztree.core.min.js"></script>
<script src="/scripts/BaseP/Main/model.js"></script>
<!-- <script src="/scripts/BaseP/Main/model_下拉框版本.js"></script> -->
<link href="/css/BasePlatform/User/userManagement.css" rel="stylesheet">
<style>
    #modelForm .ztree li a,
    #modelForm .ztree li a.curSelectedNode {
        height: 26px;
        border: none;
    }

    #modelForm .ztree li a.curSelectedNode {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    #modelForm .ztree li span {
        line-height: 16px;
        margin-right: 2px;
        text-align: left;
    }

    #modelForm .ztreeDiv {
        width: 210px;
        max-height: 300px;
        overflow-y: auto;
        border: 1px solid #EEE;
        border-radius: 3px;
        z-index: 9999999;
        position: absolute;
        top: 347px;
        left: 300px;
        background-color: #f6f6f6;
        display: none;
    }

    .layui-layer-iframe iframe {
        overflow: hidden;
        height: 100%;
        width: 100%;
    }

    body,
    html {
        overflow: hidden;
        height: 100%;
        width: 100%;
        position: absolute;
        padding: 0px;
    }

    .container_Div_main .layui-layer-btn0,
    .container_Div_main .layui-layer-btn1 {
        width: 98px;
        height: 35px;
        border-radius: 15px;
        font-size: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .container_Div_main .layui-layer-btn0 {
        float: left;
    }

    .container_Div_main .layui-layer-btn1 {
        float: right;
    }
</style>
<script src="/scripts/BaseP/Main/Main.js"></script>

</html>